package com.xy.repository;

import com.xy.domain.Major;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author ye
* @description 针对表【t_major】的数据库操作Mapper
* @createDate 2022-01-16 17:11:59
* @Entity com.xy.domain.Major
*/
@Mapper
public interface MajorMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Major record);

    int insertSelective(Major record);

    Major selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Major record);

    int updateByPrimaryKey(Major record);

    List<Major> listByDepId(Integer depId);
}
